import { defineStore } from "pinia";

interface StateType {
  token: string | null;
  userInfo: any;
}

export const useStoreTemplate = defineStore("template", {
  state: (): StateType => ({
    token: null,
    userInfo: null,
  }),
  persist: {
    enabled: true,
  },
});
